﻿/*
 Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
 For licensing, see LICENSE.html or https://ckeditor.com/legal/ckeditor-oss-license/
 */

CKEDITOR.plugins.setLang( 'a11yhelp', 'en',
	{
		title : 'Accessibility Instructions',
		contents : 'Help Contents. To close this dialog press ESC.',
		legend : [
			{
				name : 'General',
				items : [
					{
						name : 'Editor Toolbar',
						legend : 'Press ${toolbarFocus} to navigate to the toolbar. ' +
							'Move to the next and previous toolbar group with TAB and SHIFT-TAB. ' +
							'Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. ' +
							'Press SPACE or ENTER to activate the toolbar button.'
					},

					{
						name : 'Editor Dialog',
						legend : 'Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. ' +
							'For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. ' +
							'Then move to next tab with TAB OR RIGTH ARROW. ' +
							'Move to previous tab with SHIFT + TAB or LEFT ARROW. ' +
							'Press SPACE or ENTER to select the tab page.'
					},

					{
						name : 'Editor Context Menu',
						legend : 'Press ${contextMenu} or APPLICATION KEY to open context-menu. ' +
							'Then move to next menu option with TAB or DOWN ARROW. ' +
							'Move to previous option with SHIFT+TAB or UP ARROW. ' +
							'Press SPACE or ENTER to select the menu option. ' +
							'Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. ' +
							'Go back to parent menu item with ESC or LEFT ARROW. ' +
							'Close context menu with ESC.'
					},

					{
						name : 'Editor List Box',
						legend : 'Inside a list-box, move to next list item with TAB OR DOWN ARROW. ' +
							'Move to previous list item with SHIFT + TAB or UP ARROW. ' +
							'Press SPACE or ENTER to select the list option. ' +
							'Press ESC to close the list-box.'
					},

					{
						name : 'Editor Element Path Bar',
						legend : 'Press ${elementsPathFocus} to navigate to the elements path bar. ' +
							'Move to next element button with TAB or RIGHT ARROW. ' +
							'Move to previous button with  SHIFT+TAB or LEFT ARROW. ' +
							'Press SPACE or ENTER to select the element in editor.'
					}
				]
			},
			{
				name : 'Commands',
				items : [
					{
						name : ' Undo command',
						legend : 'Press ${undo}'
					},
					{
						name : ' Redo command',
						legend : 'Press ${redo}'
					},
					{
						name : ' Bold command',
						legend : 'Press ${bold}'
					},
					{
						name : ' Italic command',
						legend : 'Press ${italic}'
					},
					{
						name : ' Underline command',
						legend : 'Press ${underline}'
					},
					{
						name : ' Link command',
						legend : 'Press ${link}'
					},
					{
						name : ' Toolbar Collapse command',
						legend : 'Press ${toolbarCollapse}'
					},
					{
						name : ' Accessibility Help',
						legend : 'Press ${a11yHelp}'
					}
				]
			}
		]
	} );
